#include <stdio.h>
int main(void)
{
	double income = 123.45, expenses = 987.65;
	int week = 7, year = 2024;
	FILE *myfile;

	myfile = fopen ("FileOutput.txt", "w");
	fprintf(myfile, "Week=%15d\nYear=%15d\n", week, year);
	fprintf(myfile, "Income=%13.2lf\nExpenses=%11.3lf\n",
	        income, expenses);
	fclose(myfile);
}

